<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <meta http-equiv="X-UA-Compatible" content="ie=edge" />
        <title>Document</title>
    </head>
    <body>
        <%- include("./common/header.ejs") -%>
        <h1>
            <%= data.age %> 
            <%= data.job %>
            <h2>爱好</h2>
            <ul>
                <% data.hobbie.forEach(function (item){ %> 
                   <li>
                        <%= item %> 
                   </li>
                <% }) %>
               
            </ul>
        </h1>
        <form action="/upload" method="post" enctype="multipart/form-data">
            <h2>单图上传</h2>
            <input type="file" name="logo" />
            <input type="submit" value="提交" />
        </form>
    </body>
</html>
